<#assign p = p!0>
<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <#include "/common/common_head.ftl">

    <script>
        function pathSpec( obj ) {
            if( obj.value==4 ){
                $("#filePath").attr("type","text");
            }else{
                $("#filePath").attr("type","hidden");
            }
        }
    </script>

  </head>

  <body style="padding-top:0px;'>

     <!-- 主内容区域 S -->
     <div class="main" id="mainBoard">
        ${code?if_exists}<br/>
        ${message?if_exists}<br/>
        ${responseData?if_exists}<br/>

	<form action="fileUpload.do" method="post" enctype="multipart/form-data">
            <input type="file" name="uploadFile" />
	    <select name="type" onchange="pathSpec(this);">
	        <option value="0">----上传根路径（）----</option>
            <option value="1">模板(.ftl)</option>
		    <option value="2">图片</option>
		    <option value="3">文件</option>
		    <option value="4">指定</option>
	    </select>

	    <input type="hidden" id="filePath" name="filePath" value=""/><br/>

	    <select name="replace">
	        <option value="0">----文件上传策略（是否检测）----</option>
            <option value="0">检测</option>
		    <option value="1">覆盖</option>
	    </select><br/>
	    <button type="submit">提交</button>
	</form>
    </div>

  </body>
</html>






